package com.nineclock.system;

import com.nineclock.common.entity.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestParam;

@Api(value = "短信发送接口", tags = "系统服务")
public interface SmsControllerApi {
    @ApiOperation(value = "发送验证码短信")
    public Result createSmsCode(String mobile, String type);

    @ApiOperation(value = "短信验证码效验")
    public Result<Boolean> verifySms(@RequestParam("mobile") String mobile, @RequestParam("checkcode") String checkcode, @RequestParam("type") String type);
}